<?php
namespace Wap\Controller;
class ArticleController extends CommonController{
	
	public function detail(){
		$this->is_show_footer = 0;
		$article_id = $this->_get('article_id', '对不起，您的操作有误！');
		$info = D('Article')->info($article_id);
		$this->add_step($info['title']);
		// 更新查看次数
		D('Article')->update_view_num($article_id, $this->user_id, session_id());

		$this->assign('info', $info);
		$this->display();
	}
}